package com.qidian.tcba.utils.result;

public enum ResultCode {

    SUCCESS(200,"成功"),
    ERROR(20001,"失败");

    private int code;
    private String desc;


    ResultCode(int code,String desc){
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
